package com.googlecode.lightest.core

class SimpleDispatcherAssignmentStrategy
    extends QueuedDispatcherAssignmentStrategy
    implements IDispatcherAssignmentStrategy
{
    List<ITaskDispatcher> dispatchers

    SimpleDispatcherAssignmentStrategy() {
        dispatchers = Collections.synchronizedList([])
    }

    void setDispatchers(List<ITaskDispatcher> dispatchers) {
        this.dispatchers = dispatchers
    }

    protected List<ITaskDispatcher>
        getCompatibleDispatchers(LightestTestCase testcase)
    {
        return dispatchers
    }
}
